package com.guofen.dao;

import com.guofen.pojo.SjqCompostProduceMaintenanceWeek;
import com.guofen.pojo.SjqSolidliquidProduceElectricity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqSolidliquidProduceElectricityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqSolidliquidProduceElectricity record);

    int insertSelective(SjqSolidliquidProduceElectricity record);

    SjqSolidliquidProduceElectricity selectByPrimaryKey(Integer id);

    SjqSolidliquidProduceElectricity getLast();

    int updateByPrimaryKeySelective(SjqSolidliquidProduceElectricity record);

    int updateByPrimaryKey(SjqSolidliquidProduceElectricity record);

    List<SjqSolidliquidProduceElectricity> selectAll();

    List<SjqSolidliquidProduceElectricity> selectByDate(@Param("startDate") String startDate,
                                                        @Param("endDate") String endDate);
}